package com.jerry.consumer.config;

import feign.Logger;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
public class FeignConfig {

	@Bean
	Logger.Level feignLoggerLevel() {
		// 记录所有请求与响应的明细，包括头信息、请求体、元数据等
		return Logger.Level.FULL;
	}

}
